package com.ruoyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单主页对象 orders
 * 
 * @author ruoyi
 * @date 2025-06-10
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单主键 */
    private Integer orderId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 下单用户ID */
    private Integer userId;

    /** 校区ID */
    private Integer campusId;

    /** 下单用户名称 */
    @Excel(name = "下单用户名称")
    private String userName;

    /** 下单用户手机号 */
    @Excel(name = "下单用户手机号")
    private String userPhone;

    /** 订单总金额 */
    @Excel(name = "订单总金额")
    private BigDecimal totalAmount;

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private BigDecimal payAmount;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String receiverName;

    /** 收货人手机号 */
    @Excel(name = "收货人手机号")
    private String receiverPhone;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String receiverAddress;

    /** 物流单号 */
    @Excel(name = "物流单号")
    private String shippingNo;

    /** 物流公司 */
    @Excel(name = "物流公司")
    private String shippingCompany;

    /** 发货时间 */
    @Excel(name = "发货时间")
    private String shippingTime;

    /** 订单完成时间 */
    @Excel(name = "订单完成时间")
    private String finishTime;

    /** 订单取消时间 */
    @Excel(name = "订单取消时间")
    private String cancelTime;

    /** 是否逻辑删除(0否,1是)默认0不删除 */
    private Integer isDeleted;

    /** 下单时间 */
    @Excel(name = "下单时间")
    private String createdTime;

    /** 最后更新时间 */
    private String updatedTime;

    /** 备注1 */
    private String demo1;

    /** 备注2 */
    private String demo2;

    /** 备注3 */
    private String demo3;

    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }

    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public void setCampusId(Integer campusId) 
    {
        this.campusId = campusId;
    }

    public Integer getCampusId() 
    {
        return campusId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }

    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }

    public void setPayAmount(BigDecimal payAmount) 
    {
        this.payAmount = payAmount;
    }

    public BigDecimal getPayAmount() 
    {
        return payAmount;
    }

    public void setReceiverName(String receiverName) 
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName() 
    {
        return receiverName;
    }

    public void setReceiverPhone(String receiverPhone) 
    {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverPhone() 
    {
        return receiverPhone;
    }

    public void setReceiverAddress(String receiverAddress) 
    {
        this.receiverAddress = receiverAddress;
    }

    public String getReceiverAddress() 
    {
        return receiverAddress;
    }

    public void setShippingNo(String shippingNo) 
    {
        this.shippingNo = shippingNo;
    }

    public String getShippingNo() 
    {
        return shippingNo;
    }

    public void setShippingCompany(String shippingCompany) 
    {
        this.shippingCompany = shippingCompany;
    }

    public String getShippingCompany() 
    {
        return shippingCompany;
    }

    public void setShippingTime(String shippingTime) 
    {
        this.shippingTime = shippingTime;
    }

    public String getShippingTime() 
    {
        return shippingTime;
    }

    public void setFinishTime(String finishTime) 
    {
        this.finishTime = finishTime;
    }

    public String getFinishTime() 
    {
        return finishTime;
    }

    public void setCancelTime(String cancelTime) 
    {
        this.cancelTime = cancelTime;
    }

    public String getCancelTime() 
    {
        return cancelTime;
    }

    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    public void setCreatedTime(String createdTime) 
    {
        this.createdTime = createdTime;
    }

    public String getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedTime(String updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public String getUpdatedTime() 
    {
        return updatedTime;
    }

    public void setDemo1(String demo1) 
    {
        this.demo1 = demo1;
    }

    public String getDemo1() 
    {
        return demo1;
    }

    public void setDemo2(String demo2) 
    {
        this.demo2 = demo2;
    }

    public String getDemo2() 
    {
        return demo2;
    }

    public void setDemo3(String demo3) 
    {
        this.demo3 = demo3;
    }

    public String getDemo3() 
    {
        return demo3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("userId", getUserId())
            .append("campusId", getCampusId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("totalAmount", getTotalAmount())
            .append("payAmount", getPayAmount())
            .append("receiverName", getReceiverName())
            .append("receiverPhone", getReceiverPhone())
            .append("receiverAddress", getReceiverAddress())
            .append("shippingNo", getShippingNo())
            .append("shippingCompany", getShippingCompany())
            .append("shippingTime", getShippingTime())
            .append("finishTime", getFinishTime())
            .append("cancelTime", getCancelTime())
            .append("remark", getRemark())
            .append("isDeleted", getIsDeleted())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("demo1", getDemo1())
            .append("demo2", getDemo2())
            .append("demo3", getDemo3())
            .toString();
    }
}
